<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <include file="Public/meta" />
    <style type="text/css">
        .marginleft {
            margin-left: 10px;
            float: right;
        }
    </style>
</head>
<body>
    <div class="info-center">
        <div class="page-header">
            <div class="pull-left">
                <h4>个人信息&nbsp;&nbsp;</h4>      
            </div>
            <a href="{:U('admin/add_child_agent_account')}"  class="btn btn-primary pull-right margin-top">添加下级代理账户</a>
        </div>
        <div class="clearfix"></div>
        <div class="table-margin">
            <table class="table table-hover table-header" id="list-table">
                <thead>
                     <tr>
                        <td colspan="10">个人信息</td>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>用户名</td>
                        <td>代理等级</td>
                        <td>代理折扣率</td>
                        <td>上机代理名称</td>
                        <td>代理状态</td>
						<td>联系电话</td>
                        <td>邮箱</td>
                        <td>登录IP</td>
                        <td>登录时间</td>
                        <td class="w10">操作</td>
                    </tr>
                    <tr>
                        <td>{$list.admin_name}</td>
                        <td>
                           {$list.dengji}
                        </td>
                        <td>
                           {$list.zhekou}
                        </td>
                        <td>
                            {$list.parent_agent_name}
                        </td>
                        <td>
                            <if condition="$list.status eq 1">
                                正常
                                <else/>
                                <font color="red">禁用</font>
                            </if>
                        </td>
                        <td>
                            {$list.phone}
                        </td>
                        <td>
                            {$list.email}
                        </td>
                        <td>
                           {$list.last_login_ip}
                        </td>
                        <td>
                           {$list.last_login_time|date='Y-m-d H:i:s',###}
                        </td>
                        <td>
                            <a href="{:U('admin/edit',['id'=>$list[admin_id]])}"> 修改密码</a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div> 
    <script type="text/javascript" src="__ADMIN_JS__/common.js"></script>
</body>
</html>
